package com.sinfonia.wipes.common.constant;

/**
 * Created by gmwang on 2018/10/17
 */
public class IPlatformConstant {
   /**
    * 淘宝uland地址 https://uland.taobao.com/sem/tbsearch?refpid=mm_26632258_3504122_32538762&clk1=dcdddaae911d6bd28bc39d2283802876&keyword=%E7%89%88%E6%9C%AC&page=0
    */
   public static final String TAOBAO_ULAND_SEARCH_URL = "https://uland.taobao.com/sem/tbsearch?refpid=mm_26632258_3504122_32538762&clk1=dcdddaae911d6bd28bc39d2283802876&keyword=TB_KEYWORD&page=PAGENUM";
   /**
    * 需要登录 xxxxxx????????
    * 淘宝s地址 https://s.taobao.com/search?initiative_id=staobaoz_20181018&q=asdas
    */
   public static final String TAOBAO_S_SEARCH_URL = "https://s.taobao.com/search?initiative_id=staobaoz_20181018&q=asdas";
   /**
    * 需要登录
    * 淘宝H5地址 https://s.m.taobao.com/h5?sst=1&n=20&buying=buyitnow&q=asd
    */
   public static final String TAOBAO_H5_SEARCH_URL = "https://s.m.taobao.com/h5?sst=PAGENUM&n=PAGESIZE&buying=buyitnow&q=TB_KEYWORD";
   /**
    * 根据关键字获取联想词
    * 淘宝pc地址 https://uland.taobao.com/sem/tbsearch?refpid=mm_26632258_3504122_32538762&clk1=dcdddaae911d6bd28bc39d2283802876&keyword=%E7%89%88%E6%9C%AC&page=0
    */
   public static final String TAOBAO_PC_ASSOCIATIVE_WORD_URL = "https://suggest.taobao.com/sug?code=utf-8&q=TB_KEYWORD&_ksTS=1539770844427_257&callback=jsonp258&code=utf-8&area=c2c";
   /**
    * 根据关键字获取联想词
    * 淘宝H5地址 https://suggest.taobao.com/sug?q=asd&code=utf-8&area=c2c&nick=&sid=null&callback=jsonp1
    */
   public static final String TAOBAO_H5_ASSOCIATIVE_WORD_URL = "https://suggest.taobao.com/sug?q=TB_KEYWORD&code=utf-8&area=c2c&nick=&sid=null&callback=jsonp1";
   /**
    * 获取热门搜索词
    */
   public static final String TAOBAO_H5_HOT_WORD_URL = "http://index.1688.com/alizs/word/listRankType.json?cat=KEYWORD&rankType=RAKNTYPE&period=week";

   public static final String RANK_TYPE_LIST="rise,hot,new,word";
}
